<template>
  <div class="blog">
    <div class="nav">
      <div class="nav-main">
        <div
          class="nav-main-item"
          v-for="(item, index) in technologyList"
          :key="index"
        >
          {{ item }}
        </div>
      </div>
    </div>
    <div class="blog-main">123</div>
  </div>
</template>

<script setup lang="ts">
import { ref } from "vue";
const technologyList = ref<string[]>([
  "python",
  "node",
  "vue",
  "rust",
  "react",
]);

console.log("======>", technologyList.value);
</script>

<style lang="scss" scoped>
.blog {
  width: 100%;
  height: auto;
  display: flex;
  .nav {
    flex: 1;
    box-sizing: border-box;
    padding: 2rem;
    .nav-main {
      width: 100%;
      box-sizing: border-box;
      border: 1px solid #000000;
    }
  }
  .blog-main {
    flex: 6;
  }
}
</style>
